package com.logistics.modules.transportationManagement.dao;
import org.apache.ibatis.annotations.Param;

import com.logistics.modules.transportationManagement.entity.CargotypeEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * 
 * 
 * @author HURRICANE
 * @email HURRICANE@nb.com
 * @date 2022-05-06 18:12:10
 */
@Mapper
public interface CargotypeDao extends BaseMapper<CargotypeEntity> {
    CargotypeEntity selectOneById(@Param("id") Integer id);

    Integer selectOneByCargoTypeName(@Param("cargoTypeName") String cargoTypeName);
}
